Wand v1.0.7

Wand adds a simple WorldEdit-style selection tool for Minecraft Bedrock.

How to get it
!wand

You can also use:
/give @s adit:wand
/scriptevent wand:give

How to use
1. Hold the Wand.
2. Left-click a block to set position 1.
3. Right-click/use a block to set position 2.
4. Type a set command in chat:
   !set dark_oak_planks false
   !set glass true

If !set does not work on your Bedrock version, use:
   /scriptevent wand:set dark_oak_planks false
   /scriptevent wand:set glass true

Command format
!set block_name hollow

Examples
!set stone false
!set minecraft:diamond_block false
!set dark_oak_planks true

Hollow mode
false = fill the whole selection.
true = fill the outside shell and clear the inside to air, like Minecraft /fill hollow.
Example: a 3x3x3 cube becomes 26 shell blocks and 1 air block in the center.
Flat selections hollow too: a 4x4 flat selection becomes 12 shell blocks and 4 air blocks.

Safety
The selection is capped at 32000 blocks to avoid freezing the world.
The plan is to increase the cap by 1000 blocks in each future version if testing stays stable.

Messages
This build only prints useful messages, including pos1, pos2, command errors, and set results.

Notes
- This add-on uses ! commands because Bedrock add-ons cannot always create custom slash commands reliably.
- This build also supports /scriptevent commands because they are more reliable on Bedrock.
- Block names can use minecraft:stone or just stone.
